package com.sbpm.crmbpm.client.forms.controls;

import com.google.gwt.user.client.ui.ListBox;

public class SelectableListBox extends ListBox
{

    public void setValue( String value )
    {
        for( int i = 0; i < getItemCount(); i++ )
        {
            if( getItemText( i ) != null && getItemText( i ).equals( value ) )
            {
                setSelectedIndex( i );
                return;
            }
        }

    }
}
